#ifndef PRODUCT_H
#define PRODUCT_H

#include <QObject>

class Product: public QObject
{
    Q_OBJECT
    QString m_head;

    QString m_face;

    QString m_eye;

public:
    Product();
    ~Product();
    Q_PROPERTY(QString head READ head NOTIFY headChanged)
    Q_PROPERTY(QString face READ face NOTIFY faceChanged)
    Q_PROPERTY(QString eye READ eye NOTIFY eyeChanged)
    void ProducePart(QString part);
    QString head() const
    {
        return m_head;
    }

    QString face() const
    {
        return m_face;
    }

    QString eye() const
    {
        return m_eye;
    }

signals:
protected:


signals:

    void headChanged(QString head);

    void faceChanged(QString face);

    void eyeChanged(QString eye);

public slots:
};

class ProductPart
{
public:
    ProductPart(QString part);
    ~ProductPart();
    QString BuildPart();
private:
    QString _part;
};

#endif // PRODUCT_H
